package javax.mail.event;

import javax.mail.Store;

public class StoreEvent extends MailEvent {
    protected String message;
    protected int type;

    public StoreEvent(Store store, int type, String message) {
        super(store);
        this.type = type;
        this.message = message;
    }

    public void dispatch(Object listener) {
        ((StoreListener) listener).notification(this);
    }
}
